﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using mvLibrary;
using mvLibrary.Helpers.Enums;

namespace fenk.Contable.Informes
{
    public partial class SumasYBalances : MultiAccountForm
    {
        public SumasYBalances()
        {
            InitializeComponent();
            this.InicializarComboBox(ref this.cbEmpresas);
        }
        
        public override void BeforeSaveReport()
        {
            string reportName = string.Empty;
            Empresas_Reportes.TryGetValue((Empresas)cbEmpresas.SelectedIndex, out reportName);
            _item[4] = reportName;
        }
    }
}
